package com.shuoyue.ycgk.ui.mine.wrong.infos2;

import com.shuoyue.ycgk.entity.ChapterType;
import com.shuoyue.ycgk.entity.QuestionParent;
import com.shuoyue.ycgk.entity.SectionType;
import com.shuoyue.ycgk.ui.mine.wrong.WrongContract;
import com.shuoyue.ycgk.ui.questionbank.base.BaseSimpleFragment;

import java.util.List;

public class WrongInfoSimpleFragment extends BaseSimpleFragment
        implements WrongContract.View {

    WrongContract.Presenter wrongPresenter;

    @Override
    protected void initData() {
        super.initData();
        wrongPresenter = new WrongContract.Presenter();
        wrongPresenter.attachView(this);
    }


    protected void whenAnswerRight() {
        super.whenAnswerRight();
        wrongPresenter.consolidate(questionSimple.getMemberPaperDetailId(), 1);
    }

    protected void whenAnswerWrong() {
        super.whenAnswerWrong();
        wrongPresenter.consolidate(questionSimple.getMemberPaperDetailId(), 0);
    }

    @Override
    public void setTypeList(List<ChapterType> chapterSectionTypes) {

    }

    @Override
    public void setQuestions(List<QuestionParent> questionList) {

    }

    @Override
    public void clearSuc() {

    }

    @Override
    public void deleted(ChapterType chapter, SectionType sectionType) {

    }



    @Override
    public void changeStatue(int statue) {
    }
}
